var express = require('express');
var router = express.Router();
const IndexService = require('../service/user-service');

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});

//登录
router.post('/login',IndexService.login);

module.exports = router;
